import 'package:storage/generated/json/base/json_field.dart';
import 'package:storage/generated/json/company_model_entity.g.dart';
import 'dart:convert';
export 'package:storage/generated/json/company_model_entity.g.dart';

@JsonSerializable()
class CompanyModelEntity {
  int? companyId;
  String? companyName;

  CompanyModelEntity();

  factory CompanyModelEntity.fromJson(Map<String, dynamic> json) =>
      $CompanyModelEntityFromJson(json);

  Map<String, dynamic> toJson() => $CompanyModelEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
